package cn.water.bean;

import org.springframework.context.annotation.Configuration;

@Configuration
public class Bean1 {
    public Bean1() {
        System.out.println("Bean1被容器加载了....");
    }
    public void sayHi(String name){
        System.out.println("你好:"+name);
    }
}
